package enumtest;

public class Test {

    public static void main(String[] args) {
        System.out.println(DBTypeEnum.DM.equals("DM"));

    }

}

enum DBTypeEnum {
    Oralce("Dracle"), Mysql("Mysql"), DM("DM"), KingBase("KingBase"), SqlServer("SqlServer");

    String dbTypeStr;

    DBTypeEnum(String dbTypeStr) {
        this.dbTypeStr = dbTypeStr;
    }
}


